package com.eos.control.action;

import javax.servlet.http.HttpSession;

import com.eos.control.action.base.AbstractBaseAction;

public class LogoutAction extends AbstractBaseAction {
	private static final long serialVersionUID = -6535364723627886210L;

	@Override
	public String execute() throws Exception {
		HttpSession session = getSession();
		session.removeAttribute("SysUser");
		session.invalidate();
		return SUCCESS;
	}
}
